package com.hopedove.workshop.viewmodel

import com.hopedove.viewmodel.BaseViewModel
import com.hopedove.workshop.ui.ExchangeBatchConfirmActivity
import com.hopedove.workshop.ui.RunningSituationHomeActivity
import com.hopedove.workshop.ui.TakeInventoryDetailActivity
import com.hopedove.workshop.ui.shiftchange.ShiftChangeHomeActivity

class WorkshopHomeViewModel : BaseViewModel() {

    // 点击运转情况
    fun onRunningClick() = navigateTo(RunningSituationHomeActivity::class.java)

    // 点击换批确认
    fun onConfirmClick() = navigateTo(ExchangeBatchConfirmActivity::class.java)

    // 点击交班记录
    fun onShiftChangeClick() = navigateTo(ShiftChangeHomeActivity::class.java)

    // 点击纱织盘存明细
    fun onTakeInventoryClick() = navigateTo(TakeInventoryDetailActivity::class.java)
}